#!/usr/local/python/bin/python
# coding=utf-8
__author__ = 'cz'


class DcpException(Exception):
    code = ''
    msg = ''

    def __init__(self, code, msg):
        Exception
        self.code = code
        self.msg = msg

    def __str__(self):
        return repr(self.code)